﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Google.GData.Client;


namespace SindSaude
{
    public partial class tvsindsaude : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
            SindSaudeCamadas.Dados.tvsindsaude videos = new SindSaudeCamadas.Dados.tvsindsaude();
            DataTable dt = new DataTable();
            dt = videos.carregaVideos();
            if (dt.Rows.Count > 0)
            {
                VideosList.DataSource = dt;
                VideosList.DataBind();
                VideosList.RepeatDirection = RepeatDirection.Horizontal;
            }
            string VideosPrinc = "";
            VideosPrinc = videos.carregaVideoPrincipal();

            
            }
        }
    }
